package com.weitu.securitycheck.entity;

import com.weitu.plugin.PageView;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LiMeng
 * date 2017/05/20 14:17
 */
public class CheckRecordCriteria {
    // 排序字段
    protected String orderByClause;

    // 过滤重复数据
    protected boolean distinct;

    // 查询条件
    protected List<Criteria> oredCriteria;

    protected PageView pageView;

    /** 
     * 构造查询条件
     */
    public CheckRecordCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /** 
     * 设置排序字段
     * @param orderByClause 排序字段
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /** 
     * 获取排序字段
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /** 
     * 设置过滤重复数据
     * @param distinct 是否过滤重复数据
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /** 
     * 是否过滤重复数据
     */
    public boolean isDistinct() {
        return distinct;
    }

    /** 
     * 获取当前的查询条件实例
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /** 
     * 增加或者的查询条件,用于构建或者查询
     * @param criteria 过滤条件实例
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /** 
     * 创建一个新的或者查询条件
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /** 
     * 创建一个查询条件
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /** 
     * 内部构建查询条件对象
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /** 
     * 清除查询条件
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /** 
     *
     * @param pageView
     */
    public void setPageView(PageView pageView) {
        this.pageView=pageView;
    }

    /** 
     *
     */
    public PageView getPageView() {
        return pageView;
    }

    /**
     * 安全检查_检查台账HSE_SC_CHECKRECORD的基本动态SQL对象.
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition != null) {
                criteria.add(new Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value != null) {
                criteria.add(new Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 != null && value2 != null) {
                criteria.add(new Criterion(condition, value1, value2));
            }
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("delState is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("delState is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("delState =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("delState <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("delState >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("delState >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("delState <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("delState <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("delState in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("delState not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("delState between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("delState not between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("addUserId is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("addUserId is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(String value) {
            addCriterion("addUserId =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(String value) {
            addCriterion("addUserId <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(String value) {
            addCriterion("addUserId >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("addUserId >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(String value) {
            addCriterion("addUserId <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(String value) {
            addCriterion("addUserId <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLike(String value) {
            addCriterion("addUserId like", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotLike(String value) {
            addCriterion("addUserId not like", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<String> values) {
            addCriterion("addUserId in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<String> values) {
            addCriterion("addUserId not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(String value1, String value2) {
            addCriterion("addUserId between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(String value1, String value2) {
            addCriterion("addUserId not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIsNull() {
            addCriterion("addDeptId is null");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIsNotNull() {
            addCriterion("addDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdEqualTo(String value) {
            addCriterion("addDeptId =", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotEqualTo(String value) {
            addCriterion("addDeptId <>", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdGreaterThan(String value) {
            addCriterion("addDeptId >", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("addDeptId >=", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLessThan(String value) {
            addCriterion("addDeptId <", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLessThanOrEqualTo(String value) {
            addCriterion("addDeptId <=", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdLike(String value) {
            addCriterion("addDeptId like", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotLike(String value) {
            addCriterion("addDeptId not like", value, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdIn(List<String> values) {
            addCriterion("addDeptId in", values, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotIn(List<String> values) {
            addCriterion("addDeptId not in", values, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdBetween(String value1, String value2) {
            addCriterion("addDeptId between", value1, value2, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddDeptIdNotBetween(String value1, String value2) {
            addCriterion("addDeptId not between", value1, value2, "addDeptId");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("addTime is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("addTime is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(String value) {
            addCriterion("addTime =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(String value) {
            addCriterion("addTime <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(String value) {
            addCriterion("addTime >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(String value) {
            addCriterion("addTime >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(String value) {
            addCriterion("addTime <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(String value) {
            addCriterion("addTime <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLike(String value) {
            addCriterion("addTime like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotLike(String value) {
            addCriterion("addTime not like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<String> values) {
            addCriterion("addTime in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<String> values) {
            addCriterion("addTime not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(String value1, String value2) {
            addCriterion("addTime between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(String value1, String value2) {
            addCriterion("addTime not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIsNull() {
            addCriterion("updateDeptId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIsNotNull() {
            addCriterion("updateDeptId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdEqualTo(String value) {
            addCriterion("updateDeptId =", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotEqualTo(String value) {
            addCriterion("updateDeptId <>", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdGreaterThan(String value) {
            addCriterion("updateDeptId >", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("updateDeptId >=", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLessThan(String value) {
            addCriterion("updateDeptId <", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLessThanOrEqualTo(String value) {
            addCriterion("updateDeptId <=", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdLike(String value) {
            addCriterion("updateDeptId like", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotLike(String value) {
            addCriterion("updateDeptId not like", value, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdIn(List<String> values) {
            addCriterion("updateDeptId in", values, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotIn(List<String> values) {
            addCriterion("updateDeptId not in", values, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdBetween(String value1, String value2) {
            addCriterion("updateDeptId between", value1, value2, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateDeptIdNotBetween(String value1, String value2) {
            addCriterion("updateDeptId not between", value1, value2, "updateDeptId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(String value) {
            addCriterion("updateUserId =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(String value) {
            addCriterion("updateUserId <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(String value) {
            addCriterion("updateUserId >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("updateUserId >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(String value) {
            addCriterion("updateUserId <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(String value) {
            addCriterion("updateUserId <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLike(String value) {
            addCriterion("updateUserId like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotLike(String value) {
            addCriterion("updateUserId not like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<String> values) {
            addCriterion("updateUserId in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<String> values) {
            addCriterion("updateUserId not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(String value1, String value2) {
            addCriterion("updateUserId between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(String value1, String value2) {
            addCriterion("updateUserId not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("updateTime like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("updateTime not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsIsNull() {
            addCriterion("checkDeptIds is null");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsIsNotNull() {
            addCriterion("checkDeptIds is not null");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsEqualTo(String value) {
            addCriterion("checkDeptIds =", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsNotEqualTo(String value) {
            addCriterion("checkDeptIds <>", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsGreaterThan(String value) {
            addCriterion("checkDeptIds >", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsGreaterThanOrEqualTo(String value) {
            addCriterion("checkDeptIds >=", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsLessThan(String value) {
            addCriterion("checkDeptIds <", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsLessThanOrEqualTo(String value) {
            addCriterion("checkDeptIds <=", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsLike(String value) {
            addCriterion("checkDeptIds like", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsNotLike(String value) {
            addCriterion("checkDeptIds not like", value, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsIn(List<String> values) {
            addCriterion("checkDeptIds in", values, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsNotIn(List<String> values) {
            addCriterion("checkDeptIds not in", values, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsBetween(String value1, String value2) {
            addCriterion("checkDeptIds between", value1, value2, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptIdsNotBetween(String value1, String value2) {
            addCriterion("checkDeptIds not between", value1, value2, "checkDeptIds");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesIsNull() {
            addCriterion("checkDeptNames is null");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesIsNotNull() {
            addCriterion("checkDeptNames is not null");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesEqualTo(String value) {
            addCriterion("checkDeptNames =", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesNotEqualTo(String value) {
            addCriterion("checkDeptNames <>", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesGreaterThan(String value) {
            addCriterion("checkDeptNames >", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesGreaterThanOrEqualTo(String value) {
            addCriterion("checkDeptNames >=", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesLessThan(String value) {
            addCriterion("checkDeptNames <", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesLessThanOrEqualTo(String value) {
            addCriterion("checkDeptNames <=", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesLike(String value) {
            addCriterion("checkDeptNames like", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesNotLike(String value) {
            addCriterion("checkDeptNames not like", value, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesIn(List<String> values) {
            addCriterion("checkDeptNames in", values, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesNotIn(List<String> values) {
            addCriterion("checkDeptNames not in", values, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesBetween(String value1, String value2) {
            addCriterion("checkDeptNames between", value1, value2, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckDeptNamesNotBetween(String value1, String value2) {
            addCriterion("checkDeptNames not between", value1, value2, "checkDeptNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsIsNull() {
            addCriterion("checkUserIds is null");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsIsNotNull() {
            addCriterion("checkUserIds is not null");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsEqualTo(String value) {
            addCriterion("checkUserIds =", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsNotEqualTo(String value) {
            addCriterion("checkUserIds <>", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsGreaterThan(String value) {
            addCriterion("checkUserIds >", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsGreaterThanOrEqualTo(String value) {
            addCriterion("checkUserIds >=", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsLessThan(String value) {
            addCriterion("checkUserIds <", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsLessThanOrEqualTo(String value) {
            addCriterion("checkUserIds <=", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsLike(String value) {
            addCriterion("checkUserIds like", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsNotLike(String value) {
            addCriterion("checkUserIds not like", value, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsIn(List<String> values) {
            addCriterion("checkUserIds in", values, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsNotIn(List<String> values) {
            addCriterion("checkUserIds not in", values, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsBetween(String value1, String value2) {
            addCriterion("checkUserIds between", value1, value2, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserIdsNotBetween(String value1, String value2) {
            addCriterion("checkUserIds not between", value1, value2, "checkUserIds");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesIsNull() {
            addCriterion("checkUserNames is null");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesIsNotNull() {
            addCriterion("checkUserNames is not null");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesEqualTo(String value) {
            addCriterion("checkUserNames =", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesNotEqualTo(String value) {
            addCriterion("checkUserNames <>", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesGreaterThan(String value) {
            addCriterion("checkUserNames >", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesGreaterThanOrEqualTo(String value) {
            addCriterion("checkUserNames >=", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesLessThan(String value) {
            addCriterion("checkUserNames <", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesLessThanOrEqualTo(String value) {
            addCriterion("checkUserNames <=", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesLike(String value) {
            addCriterion("checkUserNames like", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesNotLike(String value) {
            addCriterion("checkUserNames not like", value, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesIn(List<String> values) {
            addCriterion("checkUserNames in", values, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesNotIn(List<String> values) {
            addCriterion("checkUserNames not in", values, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesBetween(String value1, String value2) {
            addCriterion("checkUserNames between", value1, value2, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckUserNamesNotBetween(String value1, String value2) {
            addCriterion("checkUserNames not between", value1, value2, "checkUserNames");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateIsNull() {
            addCriterion("checkStartDate is null");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateIsNotNull() {
            addCriterion("checkStartDate is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateEqualTo(String value) {
            addCriterion("checkStartDate =", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateNotEqualTo(String value) {
            addCriterion("checkStartDate <>", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateGreaterThan(String value) {
            addCriterion("checkStartDate >", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateGreaterThanOrEqualTo(String value) {
            addCriterion("checkStartDate >=", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateLessThan(String value) {
            addCriterion("checkStartDate <", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateLessThanOrEqualTo(String value) {
            addCriterion("checkStartDate <=", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateLike(String value) {
            addCriterion("checkStartDate like", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateNotLike(String value) {
            addCriterion("checkStartDate not like", value, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateIn(List<String> values) {
            addCriterion("checkStartDate in", values, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateNotIn(List<String> values) {
            addCriterion("checkStartDate not in", values, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateBetween(String value1, String value2) {
            addCriterion("checkStartDate between", value1, value2, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckStartDateNotBetween(String value1, String value2) {
            addCriterion("checkStartDate not between", value1, value2, "checkStartDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateIsNull() {
            addCriterion("checkEndDate is null");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateIsNotNull() {
            addCriterion("checkEndDate is not null");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateEqualTo(String value) {
            addCriterion("checkEndDate =", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateNotEqualTo(String value) {
            addCriterion("checkEndDate <>", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateGreaterThan(String value) {
            addCriterion("checkEndDate >", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateGreaterThanOrEqualTo(String value) {
            addCriterion("checkEndDate >=", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateLessThan(String value) {
            addCriterion("checkEndDate <", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateLessThanOrEqualTo(String value) {
            addCriterion("checkEndDate <=", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateLike(String value) {
            addCriterion("checkEndDate like", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateNotLike(String value) {
            addCriterion("checkEndDate not like", value, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateIn(List<String> values) {
            addCriterion("checkEndDate in", values, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateNotIn(List<String> values) {
            addCriterion("checkEndDate not in", values, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateBetween(String value1, String value2) {
            addCriterion("checkEndDate between", value1, value2, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckEndDateNotBetween(String value1, String value2) {
            addCriterion("checkEndDate not between", value1, value2, "checkEndDate");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdIsNull() {
            addCriterion("checkTypeId is null");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdIsNotNull() {
            addCriterion("checkTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdEqualTo(String value) {
            addCriterion("checkTypeId =", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdNotEqualTo(String value) {
            addCriterion("checkTypeId <>", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdGreaterThan(String value) {
            addCriterion("checkTypeId >", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("checkTypeId >=", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdLessThan(String value) {
            addCriterion("checkTypeId <", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdLessThanOrEqualTo(String value) {
            addCriterion("checkTypeId <=", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdLike(String value) {
            addCriterion("checkTypeId like", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdNotLike(String value) {
            addCriterion("checkTypeId not like", value, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdIn(List<String> values) {
            addCriterion("checkTypeId in", values, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdNotIn(List<String> values) {
            addCriterion("checkTypeId not in", values, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdBetween(String value1, String value2) {
            addCriterion("checkTypeId between", value1, value2, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeIdNotBetween(String value1, String value2) {
            addCriterion("checkTypeId not between", value1, value2, "checkTypeId");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameIsNull() {
            addCriterion("checkTypeName is null");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameIsNotNull() {
            addCriterion("checkTypeName is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameEqualTo(String value) {
            addCriterion("checkTypeName =", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameNotEqualTo(String value) {
            addCriterion("checkTypeName <>", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameGreaterThan(String value) {
            addCriterion("checkTypeName >", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("checkTypeName >=", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameLessThan(String value) {
            addCriterion("checkTypeName <", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameLessThanOrEqualTo(String value) {
            addCriterion("checkTypeName <=", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameLike(String value) {
            addCriterion("checkTypeName like", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameNotLike(String value) {
            addCriterion("checkTypeName not like", value, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameIn(List<String> values) {
            addCriterion("checkTypeName in", values, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameNotIn(List<String> values) {
            addCriterion("checkTypeName not in", values, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameBetween(String value1, String value2) {
            addCriterion("checkTypeName between", value1, value2, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckTypeNameNotBetween(String value1, String value2) {
            addCriterion("checkTypeName not between", value1, value2, "checkTypeName");
            return (Criteria) this;
        }

        public Criteria andCheckDateIsNull() {
            addCriterion("checkDate is null");
            return (Criteria) this;
        }

        public Criteria andCheckDateIsNotNull() {
            addCriterion("checkDate is not null");
            return (Criteria) this;
        }

        public Criteria andCheckDateEqualTo(String value) {
            addCriterion("checkDate =", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateNotEqualTo(String value) {
            addCriterion("checkDate <>", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateGreaterThan(String value) {
            addCriterion("checkDate >", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateGreaterThanOrEqualTo(String value) {
            addCriterion("checkDate >=", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateLessThan(String value) {
            addCriterion("checkDate <", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateLessThanOrEqualTo(String value) {
            addCriterion("checkDate <=", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateLike(String value) {
            addCriterion("checkDate like", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateNotLike(String value) {
            addCriterion("checkDate not like", value, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateIn(List<String> values) {
            addCriterion("checkDate in", values, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateNotIn(List<String> values) {
            addCriterion("checkDate not in", values, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateBetween(String value1, String value2) {
            addCriterion("checkDate between", value1, value2, "checkDate");
            return (Criteria) this;
        }

        public Criteria andCheckDateNotBetween(String value1, String value2) {
            addCriterion("checkDate not between", value1, value2, "checkDate");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsIsNull() {
            addCriterion("receiveDeptIds is null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsIsNotNull() {
            addCriterion("receiveDeptIds is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsEqualTo(String value) {
            addCriterion("receiveDeptIds =", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsNotEqualTo(String value) {
            addCriterion("receiveDeptIds <>", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsGreaterThan(String value) {
            addCriterion("receiveDeptIds >", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsGreaterThanOrEqualTo(String value) {
            addCriterion("receiveDeptIds >=", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsLessThan(String value) {
            addCriterion("receiveDeptIds <", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsLessThanOrEqualTo(String value) {
            addCriterion("receiveDeptIds <=", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsLike(String value) {
            addCriterion("receiveDeptIds like", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsNotLike(String value) {
            addCriterion("receiveDeptIds not like", value, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsIn(List<String> values) {
            addCriterion("receiveDeptIds in", values, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsNotIn(List<String> values) {
            addCriterion("receiveDeptIds not in", values, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsBetween(String value1, String value2) {
            addCriterion("receiveDeptIds between", value1, value2, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptIdsNotBetween(String value1, String value2) {
            addCriterion("receiveDeptIds not between", value1, value2, "receiveDeptIds");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesIsNull() {
            addCriterion("receiveDeptNames is null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesIsNotNull() {
            addCriterion("receiveDeptNames is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesEqualTo(String value) {
            addCriterion("receiveDeptNames =", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesNotEqualTo(String value) {
            addCriterion("receiveDeptNames <>", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesGreaterThan(String value) {
            addCriterion("receiveDeptNames >", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesGreaterThanOrEqualTo(String value) {
            addCriterion("receiveDeptNames >=", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesLessThan(String value) {
            addCriterion("receiveDeptNames <", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesLessThanOrEqualTo(String value) {
            addCriterion("receiveDeptNames <=", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesLike(String value) {
            addCriterion("receiveDeptNames like", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesNotLike(String value) {
            addCriterion("receiveDeptNames not like", value, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesIn(List<String> values) {
            addCriterion("receiveDeptNames in", values, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesNotIn(List<String> values) {
            addCriterion("receiveDeptNames not in", values, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesBetween(String value1, String value2) {
            addCriterion("receiveDeptNames between", value1, value2, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andReceiveDeptNamesNotBetween(String value1, String value2) {
            addCriterion("receiveDeptNames not between", value1, value2, "receiveDeptNames");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIsNull() {
            addCriterion("contractorAuditId is null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIsNotNull() {
            addCriterion("contractorAuditId is not null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdEqualTo(String value) {
            addCriterion("contractorAuditId =", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotEqualTo(String value) {
            addCriterion("contractorAuditId <>", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdGreaterThan(String value) {
            addCriterion("contractorAuditId >", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdGreaterThanOrEqualTo(String value) {
            addCriterion("contractorAuditId >=", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLessThan(String value) {
            addCriterion("contractorAuditId <", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLessThanOrEqualTo(String value) {
            addCriterion("contractorAuditId <=", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdLike(String value) {
            addCriterion("contractorAuditId like", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotLike(String value) {
            addCriterion("contractorAuditId not like", value, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdIn(List<String> values) {
            addCriterion("contractorAuditId in", values, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotIn(List<String> values) {
            addCriterion("contractorAuditId not in", values, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdBetween(String value1, String value2) {
            addCriterion("contractorAuditId between", value1, value2, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditIdNotBetween(String value1, String value2) {
            addCriterion("contractorAuditId not between", value1, value2, "contractorAuditId");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameIsNull() {
            addCriterion("contractorAuditName is null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameIsNotNull() {
            addCriterion("contractorAuditName is not null");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameEqualTo(String value) {
            addCriterion("contractorAuditName =", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameNotEqualTo(String value) {
            addCriterion("contractorAuditName <>", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameGreaterThan(String value) {
            addCriterion("contractorAuditName >", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameGreaterThanOrEqualTo(String value) {
            addCriterion("contractorAuditName >=", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameLessThan(String value) {
            addCriterion("contractorAuditName <", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameLessThanOrEqualTo(String value) {
            addCriterion("contractorAuditName <=", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameLike(String value) {
            addCriterion("contractorAuditName like", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameNotLike(String value) {
            addCriterion("contractorAuditName not like", value, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameIn(List<String> values) {
            addCriterion("contractorAuditName in", values, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameNotIn(List<String> values) {
            addCriterion("contractorAuditName not in", values, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameBetween(String value1, String value2) {
            addCriterion("contractorAuditName between", value1, value2, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andContractorAuditNameNotBetween(String value1, String value2) {
            addCriterion("contractorAuditName not between", value1, value2, "contractorAuditName");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksIsNull() {
            addCriterion("rectifyRemarks is null");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksIsNotNull() {
            addCriterion("rectifyRemarks is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksEqualTo(String value) {
            addCriterion("rectifyRemarks =", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksNotEqualTo(String value) {
            addCriterion("rectifyRemarks <>", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksGreaterThan(String value) {
            addCriterion("rectifyRemarks >", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyRemarks >=", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksLessThan(String value) {
            addCriterion("rectifyRemarks <", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksLessThanOrEqualTo(String value) {
            addCriterion("rectifyRemarks <=", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksLike(String value) {
            addCriterion("rectifyRemarks like", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksNotLike(String value) {
            addCriterion("rectifyRemarks not like", value, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksIn(List<String> values) {
            addCriterion("rectifyRemarks in", values, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksNotIn(List<String> values) {
            addCriterion("rectifyRemarks not in", values, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksBetween(String value1, String value2) {
            addCriterion("rectifyRemarks between", value1, value2, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyRemarksNotBetween(String value1, String value2) {
            addCriterion("rectifyRemarks not between", value1, value2, "rectifyRemarks");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateIsNull() {
            addCriterion("rectifyLimitDate is null");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateIsNotNull() {
            addCriterion("rectifyLimitDate is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateEqualTo(String value) {
            addCriterion("rectifyLimitDate =", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateNotEqualTo(String value) {
            addCriterion("rectifyLimitDate <>", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateGreaterThan(String value) {
            addCriterion("rectifyLimitDate >", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyLimitDate >=", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateLessThan(String value) {
            addCriterion("rectifyLimitDate <", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateLessThanOrEqualTo(String value) {
            addCriterion("rectifyLimitDate <=", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateLike(String value) {
            addCriterion("rectifyLimitDate like", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateNotLike(String value) {
            addCriterion("rectifyLimitDate not like", value, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateIn(List<String> values) {
            addCriterion("rectifyLimitDate in", values, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateNotIn(List<String> values) {
            addCriterion("rectifyLimitDate not in", values, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateBetween(String value1, String value2) {
            addCriterion("rectifyLimitDate between", value1, value2, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andRectifyLimitDateNotBetween(String value1, String value2) {
            addCriterion("rectifyLimitDate not between", value1, value2, "rectifyLimitDate");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNull() {
            addCriterion("auditState is null");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNotNull() {
            addCriterion("auditState is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStateEqualTo(Integer value) {
            addCriterion("auditState =", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotEqualTo(Integer value) {
            addCriterion("auditState <>", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThan(Integer value) {
            addCriterion("auditState >", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("auditState >=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThan(Integer value) {
            addCriterion("auditState <", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThanOrEqualTo(Integer value) {
            addCriterion("auditState <=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateIn(List<Integer> values) {
            addCriterion("auditState in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotIn(List<Integer> values) {
            addCriterion("auditState not in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateBetween(Integer value1, Integer value2) {
            addCriterion("auditState between", value1, value2, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotBetween(Integer value1, Integer value2) {
            addCriterion("auditState not between", value1, value2, "auditState");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeIsNull() {
            addCriterion("rectifyDescribe is null");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeIsNotNull() {
            addCriterion("rectifyDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeEqualTo(String value) {
            addCriterion("rectifyDescribe =", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeNotEqualTo(String value) {
            addCriterion("rectifyDescribe <>", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeGreaterThan(String value) {
            addCriterion("rectifyDescribe >", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyDescribe >=", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeLessThan(String value) {
            addCriterion("rectifyDescribe <", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeLessThanOrEqualTo(String value) {
            addCriterion("rectifyDescribe <=", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeLike(String value) {
            addCriterion("rectifyDescribe like", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeNotLike(String value) {
            addCriterion("rectifyDescribe not like", value, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeIn(List<String> values) {
            addCriterion("rectifyDescribe in", values, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeNotIn(List<String> values) {
            addCriterion("rectifyDescribe not in", values, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeBetween(String value1, String value2) {
            addCriterion("rectifyDescribe between", value1, value2, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyDescribeNotBetween(String value1, String value2) {
            addCriterion("rectifyDescribe not between", value1, value2, "rectifyDescribe");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateIsNull() {
            addCriterion("rectifyCompleteDate is null");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateIsNotNull() {
            addCriterion("rectifyCompleteDate is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateEqualTo(String value) {
            addCriterion("rectifyCompleteDate =", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateNotEqualTo(String value) {
            addCriterion("rectifyCompleteDate <>", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateGreaterThan(String value) {
            addCriterion("rectifyCompleteDate >", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyCompleteDate >=", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateLessThan(String value) {
            addCriterion("rectifyCompleteDate <", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateLessThanOrEqualTo(String value) {
            addCriterion("rectifyCompleteDate <=", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateLike(String value) {
            addCriterion("rectifyCompleteDate like", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateNotLike(String value) {
            addCriterion("rectifyCompleteDate not like", value, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateIn(List<String> values) {
            addCriterion("rectifyCompleteDate in", values, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateNotIn(List<String> values) {
            addCriterion("rectifyCompleteDate not in", values, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateBetween(String value1, String value2) {
            addCriterion("rectifyCompleteDate between", value1, value2, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyCompleteDateNotBetween(String value1, String value2) {
            addCriterion("rectifyCompleteDate not between", value1, value2, "rectifyCompleteDate");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsIsNull() {
            addCriterion("rectifyAccepterIds is null");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsIsNotNull() {
            addCriterion("rectifyAccepterIds is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsEqualTo(String value) {
            addCriterion("rectifyAccepterIds =", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsNotEqualTo(String value) {
            addCriterion("rectifyAccepterIds <>", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsGreaterThan(String value) {
            addCriterion("rectifyAccepterIds >", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyAccepterIds >=", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsLessThan(String value) {
            addCriterion("rectifyAccepterIds <", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsLessThanOrEqualTo(String value) {
            addCriterion("rectifyAccepterIds <=", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsLike(String value) {
            addCriterion("rectifyAccepterIds like", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsNotLike(String value) {
            addCriterion("rectifyAccepterIds not like", value, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsIn(List<String> values) {
            addCriterion("rectifyAccepterIds in", values, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsNotIn(List<String> values) {
            addCriterion("rectifyAccepterIds not in", values, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsBetween(String value1, String value2) {
            addCriterion("rectifyAccepterIds between", value1, value2, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterIdsNotBetween(String value1, String value2) {
            addCriterion("rectifyAccepterIds not between", value1, value2, "rectifyAccepterIds");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesIsNull() {
            addCriterion("rectifyAccepterNames is null");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesIsNotNull() {
            addCriterion("rectifyAccepterNames is not null");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesEqualTo(String value) {
            addCriterion("rectifyAccepterNames =", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesNotEqualTo(String value) {
            addCriterion("rectifyAccepterNames <>", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesGreaterThan(String value) {
            addCriterion("rectifyAccepterNames >", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesGreaterThanOrEqualTo(String value) {
            addCriterion("rectifyAccepterNames >=", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesLessThan(String value) {
            addCriterion("rectifyAccepterNames <", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesLessThanOrEqualTo(String value) {
            addCriterion("rectifyAccepterNames <=", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesLike(String value) {
            addCriterion("rectifyAccepterNames like", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesNotLike(String value) {
            addCriterion("rectifyAccepterNames not like", value, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesIn(List<String> values) {
            addCriterion("rectifyAccepterNames in", values, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesNotIn(List<String> values) {
            addCriterion("rectifyAccepterNames not in", values, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesBetween(String value1, String value2) {
            addCriterion("rectifyAccepterNames between", value1, value2, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andRectifyAccepterNamesNotBetween(String value1, String value2) {
            addCriterion("rectifyAccepterNames not between", value1, value2, "rectifyAccepterNames");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdIsNull() {
            addCriterion("checkProblemId is null");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdIsNotNull() {
            addCriterion("checkProblemId is not null");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdEqualTo(String value) {
            addCriterion("checkProblemId =", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdNotEqualTo(String value) {
            addCriterion("checkProblemId <>", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdGreaterThan(String value) {
            addCriterion("checkProblemId >", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdGreaterThanOrEqualTo(String value) {
            addCriterion("checkProblemId >=", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdLessThan(String value) {
            addCriterion("checkProblemId <", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdLessThanOrEqualTo(String value) {
            addCriterion("checkProblemId <=", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdLike(String value) {
            addCriterion("checkProblemId like", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdNotLike(String value) {
            addCriterion("checkProblemId not like", value, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdIn(List<String> values) {
            addCriterion("checkProblemId in", values, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdNotIn(List<String> values) {
            addCriterion("checkProblemId not in", values, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdBetween(String value1, String value2) {
            addCriterion("checkProblemId between", value1, value2, "checkProblemId");
            return (Criteria) this;
        }

        public Criteria andCheckProblemIdNotBetween(String value1, String value2) {
            addCriterion("checkProblemId not between", value1, value2, "checkProblemId");
            return (Criteria) this;
        }
    }

    /**
     * 安全检查_检查台账HSE_SC_CHECKRECORD的映射实体
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 安全检查_检查台账HSE_SC_CHECKRECORD的动态SQL对象.
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}